INSTRUCTIONS FOR REPLICATING:
Amira Jadoon and Caleb Lucas. "Winning or Losing Hearts and Minds? Evidence from Afghanistan on how Leadership Decapitation affects Civilian Perceptions of Government Efficacy" Journal of Politics.

INCLUDED FILES:
1. dat.dta: Stata file containing the data analyzed in the main analysis
2. do_analysis.do: Stata .do file containing code that executes the main analysis
3. appendix.rda: R Data File containing the data and objects used to create the figure in the appendix
4. generate_plots.R: R file containing the code that creates the figure in the main paper and the figure in the appendix
5. JadoonLucasAFG.log: Log file of do_analysis.do execution
6. JadoonLucasAFG_figures.txt: Log file of generate_plots.R execution

INSTRUCTIONS FOR MAIN ANALYSIS and APPENDIX MODELS:
1. Set your working directory to the replication folder.
2. Open and run do_analysis.do (file 2) using Stata. The file imports dat.dta (file 1).

INSTRUCTIONS FOR FIGURES:
1. Set your working directory to the replication folder.
2. Open and run generate_plots.R (file 4) using R. The file imports appendix.rda (file 3).